package org.madgecko.basic.dao.iface;

import org.madgecko.basic.dao.IBaseDao;
import org.madgecko.basic.model.Pager;
import org.madgecko.basic.model.User;

import java.util.List;

public interface IUserDao extends IBaseDao<User> {
	User loadByName(String name);
	Pager<User> findUserByCon(Integer status, String con);
	List<User> listUserByRole(Integer roleId);
}
